package com.pic.mgt.dao.syushin;

import java.util.Date;
import java.util.List;

import org.springframework.dao.DataAccessException;

import com.pic.mgt.dao.IBusinessMgtDao;

public interface ISyushinBusinessMgtDao extends IBusinessMgtDao {
	
	// table 內的欄位名稱
	public static final String _terminalId = "terminal_id";
	public static final String _uploadingTime = "uploading_time";
	public static final String _bucketFilename = "bucket_file_name";
	
	public List<String> findTargetFileByBucketFilename(String bucketFilename) throws DataAccessException;
	
	public int updateStatusAndBucketFilenameByUnitName(String status, String bucketFilename, String unitName) throws DataAccessException;
	
	public SyushinBusinessMgtInfoBean findSyushinBusinessMgtInfoByUnitName(String unitName) throws DataAccessException;
}
